package com.wiki.KBS.services;

import com.wiki.KBS.domian.User;
import com.wiki.KBS.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;

    public List<User> userList(){
        return userMapper.selectByExample(null);
    }
}
